package com.cysoft.domain;

public enum FilterType {
    XIANWEI,
    TIEWANG;


    public static FilterType fromStr(String type) {
        switch (type) {
            case "0":
                return  XIANWEI;
            case "1":
                return  TIEWANG;
        }
        return XIANWEI;
    }
}
